Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: JManager Reference /
Chapter 1 - JManager Reference / Application-Defined Functions
/


MyInvalRect

Handles a frame invalidation request. When creating a frame you must designate a callback function to invalidate a portion of the frame if necessary (in a manner similar to the MacOS Toolbox function call InvalRect). The invalid portion can be updated later using the JMFrameUpdate function. For example, this is how you would define your invalidation request function if you were to name it MyInvalRect:

void MyInvalRect(JMFrameRef frame, 
const Rect* dimens);
frame
The frame that contains the area to be invalidated.
dimens
A pointer to the dimensions of the frame.
DISCUSSION
This function is always called from within a MySetupPort and MyRestorePort pair.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 DEC 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help